import { DatePipe } from '@angular/common';
import * as moment from "moment"

export class Utils {
  private datePipe: DatePipe = new DatePipe("en");
  getIonCurrentDateString() {
    return this.datePipe.transform(new Date(),"yyyy-MM-dd");
  }

  getIonCurrentDateTimeString() {
    return this.datePipe.transform(new Date(),"yyyy-MM-ddTHH:mm");
  }


}
